package cn.bdqn.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("orders")
public class Orders implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long odrId;
    private String odrCustomer;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date odrDate;
    private String odrAddr;
    private String odrStatus;
    private Float odrAmount;

}